//
// Created by 张玭 on 24-6-17.
//

#pragma once

#include "iostream"
#include "worker.h"

using namespace std;


class Employee : public Worker {
public:

    //显示个人信息
    void showInfo();

    //获取岗位名称
    virtual string getDeptName();

    //构造函数
    Employee(int id, string name, int dId);

};


